﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="clr-namespace:MugenMvvmToolkit.Controls">
    <Style
        TargetType="controls:BindableApplicationBar">
        <Setter Property="ButtonItemTemplate">
            <Setter.Value>
                <DataTemplate>
                    <controls:BindableApplicationBarIconButton
                        Command="{Binding Path=Command}"
                        CommandParameter="{Binding Path=CommandParameter}"
                        IconUri="{Binding Path=IconUri}"
                        IsEnabled="{Binding Path=IsEnabled}"
                        Text="{Binding Path=Text}" />
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="MenuItemTemplate">
            <Setter.Value>
                <DataTemplate>
                    <controls:BindableApplicationBarMenuItem
                        Command="{Binding Path=Command}"
                        CommandParameter="{Binding Path=CommandParameter}"
                        IsEnabled="{Binding Path=IsEnabled}"
                        Text="{Binding Path=Text}" />
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>